package com.hyt.it.ogt.kq.service.gov.model.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 模板文件参数表
 * </p>
 *
 * @author huangyh
 * @since 2021-09-02
 */
@Data
public class OfficeFileTemplateParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "机构id")
    @NotNull
    private String officeId;

    @ApiModelProperty(value = "参数编码(key)")
    @NotNull
    private String code;

    @ApiModelProperty(value = "参数名称(中文释义)")
    @NotNull
    private String label;

    @ApiModelProperty(value = "参数类型")
    @NotNull
    private String type;

    @ApiModelProperty(value = "参数描述")
    private String description;

    @ApiModelProperty(value = "级别，1：系统级，2：机构级")
    @NotNull
    private Integer level;
}
